using SqlSugar;

namespace Process.Domain.DTO.InputDTO
{
    public class UpdateOperationInput
    {
        public long Id { get; set; }

        [SugarColumn(ColumnName = "OperationName", Length = 100, IsNullable = false)]
        public string OperationName { get; set; } // 工艺名称

        [SugarColumn(ColumnName = "OperationHead", Length = 50, IsNullable = true)]
        public string OperationHead { get; set; } // 工艺负责人

        [SugarColumn(ColumnName = "OperationDepartment", Length = 100, IsNullable = true)]
        public string OperationDepartment { get; set; } // 所属部门

        [SugarColumn(ColumnName = "OperationStates", IsNullable = false, DefaultValue = "1")]
        public bool OperationStates { get; set; } = true; // 工艺状态

        [SugarColumn(ColumnName = "OperationDesc", Length = 500, IsNullable = true)]
        public string OperationDesc { get; set; } // 工艺描述

        [SugarColumn(ColumnName = "OperationMaterials", Length = 200, IsNullable = true)]
        public string OperationMaterials { get; set; } // 工艺物料

        [SugarColumn(ColumnName = "Steps", ColumnDataType = "json", IsNullable = true)]
        public string Steps { get; set; } // 工序步骤(JSON格式)
    }
} 